home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amoszine 3
/
Amoszine 3.adf
/
MORE_SOURCE
/
AJC-BOB-PASTER.AMOS
/
AJC-BOB-PASTER.amosSourceCode
Wrap
AMOS Source Code
|
1992-02-26
|
813b
|
47 lines
'
' "BOB PASTER"
' By Andrew Campbell
'
' This program allows you to paste bobs onto the screen using the mouse.
' Run it for an instant example (some nice colourful bobs to play with!)
'
' LEFT MOUSE = Paste bob
' RIGHT MOUSE = Next bob
'
' Quit the program and enter direct mode to save the results
' if you wish. Have fun!
'
'
Screen Open 0,320,200,32,Lowres
Curs Off : Flash Off : Cls 0
F$=Fsel$("AJC Contributions:AMOS SOURCE/BOBS/","","")
If F$<>"" : Load F$ : Else Edit : End If
Get Bob Palette
Cls 0
Hide On
B=1
Do
Repeat
X=X Screen(X Mouse) : Y=Y Screen(Y Mouse)
Wait Vbl
Bob 1,X,Y,B
Until Mouse Key
If Mouse Key=1
Wait Vbl
Bob Off 1
Wait Vbl
Paste Bob X,Y,B
End If
If Mouse Key=2
Inc B
If B>Length(1) : B=1 : End If
Repeat : Until Mouse Key=0
End If
Loop